#            MAKEFILE
#       parallel solution
#     
CC = mpiCC      # for ethernet and infiniband networks
CFLAGS = -lm -std=c++0x -I .

default: ppr-graph-dilatation 

ppr-graph-dilatation:
	$(CC) $(CFLAGS) \
	src/dilatation.cpp \
	src/edge.cpp \
	src/graph.cpp \
	src/graph_init.cpp \
	src/main.cpp \
	src/vertex.cpp \
	include/dilatation.hpp \
	include/distribution_utils.hpp \
	include/distributions.hpp \
	include/edge.hpp \
	include/graph.hpp \
	include/graph_init.hpp \
	include/graph_utils.hpp \
	include/pair_of_ints.hpp \
	include/vertex.hpp \
	-o ppr-graph-dilatation
clear:
	rm ppr-graph-dilatation
